html {
    font-family: 'Figtree', sans-serif;
    background-color: #24273a;
        color: #cdd6f4;
    scroll-behavior: smooth;
}

#logo {
    max-width: 350px;
}

#logo-div {
    margin: auto;
    max-width: fit-content;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.seitenueberschrift-div {
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #1e2030;
    width: 1000px;
    margin: auto;
    max-height: 3rem;
    line-height: normal;
    margin-bottom: 2.5rem;
    margin-top: 2rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 0px #181926, 5px 10px #181926, 5px 15px #181926, 5px -5px #181926, -5px 5px #181926, -5px 10px #181926, -5px 15px #181926, -5px -5px #181926;
}

.seitenueberschrift-div:hover {
    box-shadow: 5px 5px 0px #181926, 5px -5px  1px #181926, -5px 5px 1px #181926, -5px -5px 1px #181926;
    transform: translate(0px, 10px);
}

.seitenueberschrift-div p {
    text-align: center;
    font-style: italic;
    font-family: "Pixel", monospace;
    font-weight: 400;
    font-size: 1.5rem;
    margin-top: 12px;
}

nav {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-bottom: 0rem;
}

nav > p {
    display: inline;
}

nav > p > a:link {
    color: #cdd6f4;
}

nav > p > a:visited {
    color: #cdd6f4;
}

fieldset {
    border: 5px solid #181926;
    border-radius: 15px;
    margin-bottom: 1rem;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 1rem;
    line-height: 20px;
    text-align: center;
    padding: 0.5rem;
}

legend {
    border: 5px solid #181926;
    border-radius: 15px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
    color: #00ffcc;
    font-weight: 400;
    font-size: 1rem;
    margin-top: .5rem;
}

fieldset h3 {
    color: #00ffcc;
    font-size: 20px;
    margin-top: .75rem;
    text-align: left;
    margin-left: 55px;

    display: var(--display);
}

fieldset h4 {
    margin-top: -1rem;
    margin-bottom: -0.75rem;
    font-weight: 300;
    font-family: Figtree-Italic;
    color: #a5adcb;
    font-family: Pixel;
    font-size: 1.25rem;
    font-style: italic;
    margin-left: 55px;

    display: var(--display);
}

a:link {
    color: #00ffcc;
}

a:visited {
    color: #00ffcc;
}

.top-link {
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #1e2030;
    width: 200px;
    margin: auto;
    max-height: 3rem;
    line-height: normal;
    margin-bottom: 2.5rem;
    margin-top: 2rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 0px #181926, 5px 10px #181926, 5px 15px #181926, 5px -5px #181926, -5px 5px #181926, -5px 10px #181926, -5px 15px #181926, -5px -5px #181926;
}

.top-link:hover {
    box-shadow: 5px 5px 0px #181926, 5px -5px  1px #181926, -5px 5px 1px #181926, -5px -5px 1px #181926;
    transform: translate(0px, 10px);
}

.top-link p {
    text-align: center;
    font-style: italic;
    font-family: "Pixel", monospace;
    font-weight: 400;
    font-size: 1.5rem;
    margin-top: 12px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

fieldset p {
    margin-top: 0px;
}

.buttons img {
    width: 88px;
    height: 31px;
    image-rendering: crisp-edges;
    margin: 7px;
    transition-duration: 0.18s;
}

#ich img {
    width: 88px;
    height: 31px;
    image-rendering: crisp-edges;
    margin: 7px;
    transition-duration: 0.18s;
}

fieldset img:hover {
    transform: scale(1.2);
}

.buttons {
    display: flex;
}

#zuruck {
    font-family: Constantia;
    max-width: fit-content;
    margin: auto;
    font-size: 1.5rem;
    margin-top: 1.75rem;
    margin-bottom: -0.75rem;
    letter-spacing: 0.25px;
}

.not-crisp {
    image-rendering: smooth !important;
}

span[info]:hover::after {
    content: attr(info);
    position: absolute;
    border: 5px solid #181926;
    border-radius: 5px;
    padding: 3px;
    background-color: #1e2030;
    text-align: center;
}

@media screen and (max-width: 1020px) {
    #logo {
        max-width: 250px;
        margin-bottom: -1rem;
    }

    .seitenueberschrift-div {
        max-width: 92vw;
        margin-bottom: 1.8rem;
    }

    nav {
        margin-bottom: 1rem;
    }

    img {
        max-width: 80%;
    }

    #zuruck {
        margin-bottom: 0.25rem;
        margin-top: -0.5rem;
    }
}

@media screen and (max-width: 790px) {
    #logo {
        max-width: 200px;
    }

    nav {
        margin-bottom: 1rem;
    }
}